package com.kj.tms.system.service.menu.dao;


import com.kj.tms.common.bean.dao.BaseMapper;
import com.kj.tms.pri.system.menu.dto.DictDto;
import com.kj.tms.pri.system.menu.dto.LoggerEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ProjectName: etms
 * @Package: com.kj.tms.system.service.menu.dao
 * @ClassName: ${TYPE_NAME}
 * @Description: []
 * @Author: [yangruidong]
 * @CreateDate: 2018/7/5 10:32
 * @UpdateUser: []
 * @UpdateDate: 2018/7/5 10:32
 * @UpdateRemark: []
 * @Version: 1.0
 * Copyright: 北京宏图天安 Copyright (c) 2018
 */
@Repository
public interface LoggerMapper extends BaseMapper<LoggerEntity> {
    /**
    * @Method      insertLogger
    * @Param       
    * @Return      
    * @Exception   
    * @Description [插入日志]
    * @Author      yangruidong
    * @Version     1.0
    * @Date        2018/7/5 10:32
    */
    void insertLogger(LoggerEntity log);

    /**
    * @Method      deleteByCondition
    * @Param
    * @Return
    * @Exception
    * @Description [方法描述]
    * @Author      yangruidong
    * @Version     1.0
    * @Date        2018/7/5 10:36
    */
    void deleteByCondition(LoggerEntity log);

    /**
     * @method
     * @description [查询elk配置地址]
     * @author      [huangdongdong]
     * @version     1.0
     * @param
     * @return
     * @exception   []
     * @date        2018/7/24 15:08
     */
    List<DictDto> getElkUrl(@Param("dictType") String dictType);
}
